<?php
/**
 * @version        $Id: buy.php 1 8:38 2010年7月9日Z tianya $
 * @package        DedeCMS.Member
 * @copyright      Copyright (c) 2007 - 2010, DesDev, Inc.
 * @license        http://help.dedecms.com/usersguide/license.html
 * @link           http://www.dedecms.com
 */
require_once(dirname(__FILE__).'/config.php');
//CheckRank(0,0);
$menutype = 'mydede';
$menutype_son = 'buy';
//$myurl = $cfg_basehost.$cfg_member_dir.'/index.php?uid='.$cfg_ml->M_LoginID;
$moneycards = '';
$membertypes = '';
$shop = $dsql->GetOne("SELECT * FROM `#@__archives` a,`#@__addonsoft` b WHERE  a.id=b.aid and aid='$aid' ");
$arcid=$shop['id'];
$title=$shop['title'];
$price=$shop['needmoney'];
$umid=$shop['mid'];

$member = $dsql->GetOne("SELECT * FROM `#@__member` where userid='$cfg_ml->M_LoginID' ");
$email=$member['email'];
$qq=$member['qq'];


$tpl = new DedeTemplate();
$tpl->LoadTemplate(DEDEMEMBER.'/templets/mb_action_payment.htm');
$tpl->Display();